﻿<%@ page language="C#" autoeventwireup="true" inherits="Default_Register, App_Web_e1jp1m1s" %>

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title></title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" />
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <meta name="apple-mobile-web-app-status-bar-style" content="black" />
    <meta name="format-detection" content="telephone=no" />
    <link rel="shortcut icon" href="../Images/favicon.ico" type="image/x-icon" />
    <%=MainCss%>
    <script src="js/jquery.min.js" type="text/javascript"></script>
    <script src="js/main.js" type="text/javascript"></script>
    
    <script type="text/javascript">
        function ChangeImage() {
            var now = new Date();
            var number = now.getSeconds();
            document.getElementById('CodeImage').src = "Identify/CheckCode.aspx?id=" + number;
        }
    </script>
         
</head>

<body>

<div class="index_wrapper">

    <header>

        <div class="topbar">
            <a href="javascript:history.back(-1)" class="back_btn"><i class="icon iconfont">&#xf0115;</i></a>
            <a href="javascript:;" class="top_home"></a>
            <h1 class="page_title"><asp:Label ID="lblTitle" runat="server"></asp:Label></h1>
        </div>

    </header>
    
    <form id="form1" runat="server">
        
       <asp:ScriptManager id="ScriptManager1"  runat="server"></asp:ScriptManager>
    
       <asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional">
          <ContentTemplate>
             
                <table class="edittb">
                    <tr>
                        <td class="editname">姓名：</td>
                        <td>
                            <asp:TextBox ID="txtName" runat="server" CssClass="edittxt" placeholder="请填写真实姓名" AutoComplete="off"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="editname">手机：</td>
                        <td>
                            <asp:TextBox ID="txtPhone" runat="server" CssClass="edittxt" placeholder="请填写手机号码" AutoComplete="off"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="editname">性别：</td>
                        <td>
                            <asp:DropDownList ID="ddlSex" runat="server" CssClass="ddl">
                                <asp:ListItem Text="男" Value="0"></asp:ListItem>
                                <asp:ListItem Text="女" Value="1"></asp:ListItem>
                            </asp:DropDownList>
                        </td>
                    </tr>
                    <tr>
                        <td class="editname">密码：</td>
                        <td>
                            <asp:TextBox ID="txtPassword1" runat="server" CssClass="edittxt" placeholder="请填写密码" TextMode="Password"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="editname">确认密码：</td>
                        <td>
                            <asp:TextBox ID="txtPassword2" runat="server" CssClass="edittxt" placeholder="请确认密码" TextMode="Password"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="editname">验证码：</td>
                        <td>
                            <asp:TextBox ID="txtCode" runat="server" CssClass="edittxt" style="width:50%;" AutoComplete="off"></asp:TextBox>
                            <asp:HyperLink ID="hlChange" runat="server" ToolTip="看不清？点击换一张图片" NavigateUrl="javascript:ChangeImage();">
                                <img id="CodeImage" src="Identify/CheckCode.aspx" style="height:25px; float:right" alt="" />
                            </asp:HyperLink>
                        </td>
                    </tr>
                </table>
              
                <div style="padding:10px; text-align:center;">
                    <a href="Term.aspx">请仔细阅读《注册条款》</a>
                </div>
              
                <div style="padding:10px; text-align:center;">
                    <asp:Button ID="btnSubmit" runat="server" Text="同意协议并注册" OnClick="btnSubmit_Click" CssClass="btn" />
                </div>
              
            </ContentTemplate>
        </asp:UpdatePanel>
    
    </form>
    
    <div id="attention-dialog" class="attention-layout"></div>

</div>

</body>

</html>